FROM alpine
WORKDIR /Initial
RUN mkdir -p /msproject/project/logs/debug
RUN mkdir -p /msproject/project/logs/info
RUN mkdir -p /msproject/project/logs/error
COPY ./target/project .
COPY ./config/bootstrap-docker.yaml .
RUN mkdir config && mv bootstrap-docker.yaml config/bootstrap.yaml
EXPOSE 8081 8882
ENTRYPOINT ["./project-project"]
